package com.rjy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rjy.entity.Student;
import com.rjy.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;


import java.util.stream.BaseStream;

public interface UserMapper extends BaseMapper<User> {
    @Insert(" INSERT INTO user ( name, password,email ) VALUES" +
            " ( #{user.name},  #{user.password},#{user.email})")
    void insertUser(@Param("user") User user);
}
